package com.flurry.sdk;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

public final class lb {
    String a;

    /* synthetic */ lb(byte b) {
        this();
    }

    private lb() {
    }

    public static class a implements lg<lb> {
        public final /* synthetic */ void a(OutputStream outputStream, Object obj) throws IOException {
            lb lbVar = (lb) obj;
            if (outputStream != null && lbVar != null) {
                AnonymousClass1 r0 = new DataOutputStream(outputStream) {
                    public final void close() {
                    }
                };
                r0.writeUTF(lbVar.a);
                r0.flush();
            }
        }

        public final /* synthetic */ Object a(InputStream inputStream) throws IOException {
            if (inputStream == null) {
                return null;
            }
            AnonymousClass2 r1 = new DataInputStream(inputStream) {
                public final void close() {
                }
            };
            lb lbVar = new lb((byte) 0);
            lbVar.a = r1.readUTF();
            return lbVar;
        }
    }

    public lb(String str) {
        this.a = str;
    }
}
